package cn.tedu.sp08;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients//配置feign
@EnableCircuitBreaker//断路器
@SpringBootApplication
public class Sp08FeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(Sp08FeignApplication.class, args);
    }

}
